




<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>北京通登录</title>
    <link rel="stylesheet" href="./css/reset.css">
</head>

<body>
    <script>
        ; (function () {
            //location.href =  location.href.replace("http://","https://");
            //缩放比例
            var defaultW = 375;
            if (/Android (d+.d+)/.test(navigator.userAgent)) {
                var version = parseFloat(RegExp.$1);
                if (version > 2.3) {
                    var phoneScale = parseInt(window.screen.width) / defaultW;
                    document.write('<meta name="viewport" content="width=' + defaultW + '", minimum-scale = ' + phoneScale + ', maximum-scale = ' + phoneScale + ', target-densitydpi=device-dpi">');
                } else {
                    document.write('<meta name="viewport" content="width=' + defaultW + '">');
                }
            } else {
                document.write('<meta name="viewport" content="width=' + defaultW + ', user-scalable=no">');
            }
        })();
    </script>
    <div class="main">
        <!-- 应用信息 -->
        <div class="app-box hairline-bottom">
            <div class="app-icon-box">
                <img  class="app-icon" src="./images/icon.png" alt="">
            </div>
            <div class="app-name-box">
                首都之窗
            </div>
        </div>
        <!-- 提示信息 -->
        <div class="tip-box">
            <div class="tip-title">登录后该应用将获得以下权限</div>
            <div class="tip-text"> <i class="tip-check"></i>获得您的实名信息（名字，身份证号码等）</div>
        </div>

        <div class="button-box">
            <div id="ok" class="btn btn-ok">确认登录</div>
        </div>
    </div>
    <script src="./js/zepto.js"></script>
    <script>
        function closeWindow() {
            var params = {
                "functionType": 1
            };
            window.location.href = "toon://mwap/window?params=" + JSON.stringify(params);
        }
        $('#ok').click(function(){
            $.ajax({
                url: '',
                data: {},
                dataType: 'JSON',
                
            })
        })

        $('#cancel').click(function(){
            closeWindow();
        })
    </script>
</body>

</html>